#ifndef MAINWIDGET_H
#define MAINWIDGET_H

#include <QWidget>
#include "formqd.h"
#include "formdcs.h"
#include "formsystem.h"

#include "dcsdb/dcsdboperator.h"
#include "formplay.h"

namespace Ui
{
    class MainWidget;
}

class MainWidget : public QWidget
{
Q_OBJECT

public:
    explicit MainWidget(QWidget *parent = 0);

    ~MainWidget();

private slots:

    void on_pushButtonDCS_clicked();

    void on_pushButtonQD_clicked();

    void on_pushButtonSys_clicked();

    void on_checkPlayLists();

private:
    Ui::MainWidget *ui;
    DCSDbOperator *mDbopt;

    FormSystem *systemWin;

    FormQD *qdWin;

    FormDCS *dcsWin;

    FormPlay *playWin;

    QTimer timer;
};

#endif // MAINWIDGET_H
